Skip to main content

textAlign

Type

property

Summary

The horizontal text alignment of the field widget.

Syntax

set the textAlign of <widget> to <pAlign>
get the textAlign of <widget>

Description

Use the textAlign property to change the horizontal text alignment of the field widget.

Examples

set the textAlign of widget "Android Field" to "center"

Compatibility and Support

OS

android